package com.start.form.engine.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.start.form.engine.core.entity.StartFormConfig;

public interface StartFormConfigService extends IService<StartFormConfig> {
    void createEntity(StartFormConfig entity);

    /**
     * 根据表单编码获取表单配置
     *
     * @param formCode
     * @return
     */
    StartFormConfig getOneByFormCode(String formCode);

    long getTableHistoryCount(String tableName);
}
